package io.github.ilkgunel.pojo;


public class Course {
    /*
    课程编号cid、课程名称name、先行课编号fcid、学分credit
    * */
    private String _id;
    private String cid;
    private String name;
    private String fcid;//
    private Double credit;

    public String get_id() {
        return _id;
    }

    public void set_id(String _id) {
        this._id = _id;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFcid() {
        return fcid;
    }

    public void setFcid(String fcid) {
        this.fcid = fcid;
    }

    public Double getCredit() {
        return credit;
    }

    public void setCredit(Double credit) {
        this.credit = credit;
    }

    @Override
    public String toString() {
        return "Course{" +
                "_id='" + _id + '\'' +
                ", cid='" + cid + '\'' +
                ", name='" + name + '\'' +
                ", fcid='" + fcid + '\'' +
                ", credit='" + credit + '\'' +
                '}';
    }
}
